package gitee.derumin.lib_for_derumin;

import gitee.derumin.lib_for_derumin.commands.ConfigCommand;
import gitee.derumin.lib_for_derumin.logger.DeruminLogger;
import gitee.derumin.lib_for_derumin.commands.DeruminLoggerCommand;
import gitee.derumin.lib_for_derumin.helpers.config.ConfigHelper;
import net.fabricmc.api.ModInitializer;

public class Lib_for_derumin implements ModInitializer {
    public static final DeruminLibConfig CONFIG = new DeruminLibConfig();
    /**
     * Runs the mod initializer.
     */
    @Override
    public void onInitialize() {
        ConfigHelper.init();
        ConfigHelper.register(CONFIG, "libforderumin");
        DeruminLogger.init();
        DeruminLoggerCommand.register();
        ConfigCommand.register();
        DeruminLogger.getLogger().record("[Lib For Derumin]Mod loaded.");
    }
}
